package za.um.td.input.mouse;

import za.um.td.input.mouse.action.MouseRtsAction;

import com.jme.input.InputHandler;
import com.jme.input.Mouse;
import com.jme.renderer.Camera;

public class MouseRtsHandler extends InputHandler {

	MouseRtsAction mouseRtsAction;

	public MouseRtsHandler(Mouse mouse, Camera camera, float speed) {
		mouse.registerWithInputHandler(this);

		mouseRtsAction = new MouseRtsAction(mouse, camera, speed);
		addAction(mouseRtsAction);
	}

	public MouseRtsAction getMouseRtsAction() {
		return mouseRtsAction;
	}

}
